home *** CD-ROM | disk | FTP | other *** search
/ Internet E-Mail Workshop / Internet E-Mail Workshop.iso / referenc / modems / modem.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  10.1 KB  |  296 lines

  1. July 25, 1994
  2.  
  3. The complexity of modems today is such that great care must be taken in 
  4. setting up the 'initialization string. This string is what connects the 
  5. modem to the outside world, and how it will react.
  6.  
  7. My intention is to take some of the frustration out of setting up a modem 
  8. for optimal use. As many modems come merely with a single sheet on how to 
  9. install it into your computer, this text will aid you in getting the most 
  10. out of your communications package.
  11.  
  12.                            Jim Dickson
  13.                            Mississauga, Ontario
  14.                            Internet RN1020@ROSE.COM
  15.  
  16.  
  17. ***************************************************************************
  18.  
  19.  
  20. MODEM COMMANDS
  21.  
  22. Command                         Function
  23.  
  24. A       manually answer incoming call
  25.  
  26. A/      repeat last command executed. Do not precede A/ with AT or follow               
  27.     with ENTER.
  28.  
  29. AT      appear at the beginning of every command line
  30.  
  31. B_      B0 = CCITT V.22/V.22bis compatibility
  32.     B1 = Bell 103/212A compatibility
  33.  
  34. D_      0 throu*gh 9
  35.     # and *
  36.     P (pulse dialing)
  37.     R (include at end of Dial command line to call originate-only                              
  38.       modem).
  39.     T (touch-tone dialing)
  40.     W (wait for second dial tone)
  41.     @ (wait for one or more rings, followed by 5 seconds of silence.
  42.     , (pause)
  43.     ! (flash)
  44.     ; (return to Command Mode after dialing)
  45.  
  46. DS=n    dials 1 of 4 telephone numbers (n) stored in the modem's                        
  47.     nonvolatile memory
  48.  
  49. E_      E0 = commands are not echoed
  50.     E1 = commands are echoed
  51.  
  52. +++     switch from Data Mode to Command Mode; pause 1 second before
  53.     typing; do not follow with carriage return (see Registers S2 
  54.     and S12.
  55.  
  56. H_      H0 = modem is on-hook (hung up)
  57.     H1 = modem is off-hook, line and auxiliary relay
  58.  
  59. I_      I0 = display product identification code
  60.     I1 = factory test
  61.     I2 = internal memory test
  62.  
  63. L_      L1 = low speaker volume
  64.     L2 = medium speaker volume
  65.     L3 = loud speaker volume
  66.  
  67. M_      M0 = internal speaker off
  68.     M1 = internal speaker off until carrier detected
  69.     M2 = internal speaker always on
  70.     M3 = speaker on until carrier detected and off while dialing
  71.  
  72. O_      O0 = return to data mode
  73.     O1 = modem does not send responses
  74.  
  75. Sr?          read value in register r (r = 0-27)
  76.  
  77. Sr=n         set register r to value n (r = 0-27; n = 0-255)
  78.  
  79. V_      V0 = single digit response
  80.     V1 = word responses
  81.  
  82. X_      X0 = Hayes Smartmodem 300 compatibility
  83.     X1 = include CONNECT 1200 and CONNECT 2400 responses
  84.     X2 = include dial tone detection responses
  85.     X3 = include busy signal detection responses
  86.     X4 = include both dial tone and busy signal detection responses
  87.  
  88. Y_      Y0 = modem does not send or respond to break signals
  89.     Y1 = modem sends break signal for 4 seconds before discontinuing
  90.  
  91. Z_      Z0 = retrieves active configuration profile from stored                               
  92.          configuration profile 0 and performs 2 sec. modem self test
  93.     Z1 = retrieves active modem configuration profile from stores
  94.          configuration profile 1
  95.  
  96. &C_     &C0 = keep carrier detect signal always ON
  97.     &C1 = turn on carrier detect signal when remote carrier signal is
  98.           present
  99.  
  100. &D_     &D0 = modem ignores the Data Terminal Ready signal
  101.     &D1 = modem returns to command mode and asynchronous operation                        
  102.           following an ON to OFF DTR transition
  103.     &D2 = modem hangs up, returns to the command mode, and prepares                       
  104.           for asynchronous operation following and ON to OFF DTR                          
  105.           transition
  106.     &D3 = modem resets following an ON to OFF DTR transition
  107.  
  108. &F            restores the modem to the default operating characteristics
  109.  
  110. &G_     &G0 = guard tone disabled
  111.     &G1 = 550 Hz guard tone
  112.     &G2 = 1800 Hz guard tone
  113.  
  114. &J_     &J0 = modem will use an RJ11, RJ41S, or RJ45S telephone jack
  115.     &J1 = modem will use an RJ12 or RJ13 telephone jack
  116.  
  117. &L_     &L0 = modem is set up for dialup operation
  118.     &L1 = modem is set up for leased-line operation
  119.  
  120. &M_     &M0 = modem is configured for asynchronous operation
  121.     &M1 = modem enters synchronous mode after dialing asynchronously
  122.     &M2 = synchronous terminal support only
  123.     &M3 = manually originating a synchronous call   
  124.  
  125. &P_     &P0 = United States setting for off-hook(make) to on hook(break)                       
  126.           ratio
  127.     &P1 = UK and Hong Kong setting for off-hook to on-hook ratio
  128.  
  129. &R_     &R0 = modem turns on its Clear To Send signal when it detects the                     
  130.           Request To Send signal from the attached computer or terminal
  131.     &R1 = modem ignores the Request To Send signal and turns on its                       
  132.           Clear To Send when ready to receive data synchronously
  133.  
  134. &S_     &S0 = DSR remains on at all times
  135.     &S1 = DSR operates according to RS-232C specifications
  136.  
  137. &T_     &T0 = ends test in progress
  138.     &T1 = performs local analog loopback test
  139.     &T3 = performs local digital loopback test
  140.     &T4 = modem achnowledges remote digital loopback test performed                       
  141.           by a remote modem
  142.     &T5 = modem ignores a remote modem's request for a remote digital                     
  143.           loopback test
  144.     &T6 = perform a remote digital loopback test
  145.     &T7 = perform a remote digital loopback test and self test
  146.     &T8 = perform a local analog loopback test and self test
  147.  
  148. &V            displays configuration profiles
  149.  
  150. &W_     &W0 = stores the modem's active configuration profile in stored                       
  151.           configuration profile 0
  152.     &W1 = stores the modem's active configuration profile in stores                       
  153.           configuration profile 1
  154.  
  155. &X_     &X0 = modem provides synchronous clock on EIA pin 15
  156.     &X1 = modem accepts an externally provided synchronous clock from
  157.           the carrier detect signal being received and provides the
  158.           clock on EIA pin 15
  159.  
  160. &Y_     &Y0 = designates configuration profile 0 to be the default                            
  161.           configuration profile. When modem is turned on or reset,                         
  162.           configuration profile 0 will be retieved as the active                          
  163.           configuration profile
  164.     
  165.     &Y1 = designayes configuration profile 1 to be the default                            
  166.           configuration profile. When modem is turned on or reset,                   
  167.           configuration profile
  168.  
  169. &Zn           stores up to 4 telephone numbers in the modem's non-volatile
  170.           memory. Use DS=n to dial a number
  171.  
  172.  
  173.                  S-REGISTERS
  174.  
  175.                    DEFAULT
  176.  
  177.  
  178. Register  Range       Value     Function
  179.  
  180. S0      0-255 rings     1       rings to auto-answer calls
  181.  
  182. S1      0-255 rings     0       count number of incoming rings
  183.  
  184. S2      0-127     ASCII 43      escape character
  185.  
  186. S3      0-127     ASCII 13      carriage return character
  187.  
  188. S4      0-127     ASCII 10      line feed character
  189.  
  190. S5      0-32,127  ASCII 8       backspace character
  191.  
  192. S6      0-255 seconds   2       dial tone wait time
  193.  
  194. S7      1-255 seconds   30      wait time for remote carrier
  195.  
  196. S8      1-255           14      delay time between loss of remote 1/10 
  197.                 seconds carrier and hangup
  198.  
  199. S9      1-255           6       carrier detect response time
  200.                 1/10 seconds
  201.  
  202. S10     1-255           14      delay time between loss of remote                         
  203.                 1/10 seconds carrier and hangup
  204.  
  205. S11     50-255          95      duration and spacing of touch tones
  206.                 milliseconds
  207.  
  208. S12     0-255           50      escape characters guard time
  209.                 1/50 seconds
  210.  
  211. S13     undefined
  212.  
  213. S14     bitmapped               echo, response, dialing and register          
  214.                 originate/answer register
  215.  
  216. S15     undefined
  217.  
  218. S16     0, 1, 2, 4      0       modem tests
  219.  
  220. S17     undefined
  221.  
  222. S18     0-255 seconds   0       length of modem tests
  223.  
  224. S19     undefined
  225.  
  226. S20     undefined
  227.  
  228. S21     bit-mapped              jack, clear to send & data terminal register                
  229.                 ready signals, and long space disconnect
  230.  
  231. S22     bit-mapped              speaker and response register
  232.                 register
  233.  
  234. S23     bit-mapped      7       remote digital loopback request, data   
  235.                 register rate, parity and guard tone 
  236.                 register
  237.  
  238. S24     not used
  239.  
  240. S25     0-255           5       data terminal ready delay 1/100 seconds
  241.  
  242. S26     0-255 seconds   1       request-to-send-to-clear to 1/100 seconds 
  243.                 send delay fpr half-duplex operation
  244.  
  245. S27     bit-mapped              async/sync operation and line register
  246.                        
  247.  
  248.  
  249. MODEM RESPONSES
  250.  
  251.  
  252.  
  253. Word          Number               
  254. Responses     Responses          
  255. (V1 command)  (V0 command)      Meaning
  256.  
  257. OK              0               modem successfully executed a command. 
  258.                 Modem has switched from data mode to 
  259.                 command mode
  260.  
  261. CONNECT         1               data connection made with remote modem 
  262.                 at any baud rate
  263.  
  264. RING            2               modem has detected an incoming ring. 
  265.                 Modem will only answer when given the 
  266.                 A command, or when S0 is greater than 0
  267.                    
  268.  
  269. NO CARRIER      3               remote carrier signal lost or not detected 
  270.                 within the time specified by S7; modem 
  271.                 returns to command mode.
  272.  
  273. ERROR           4               modem found an error in your command line, 
  274.                 and returns to command mode
  275.  
  276. CONNECT 1200    5               modem has made a data connection at                                             
  277.                 1200 bps                       
  278.  
  279. NO DIALTONE     6               with the W command, waits up to W                                             
  280.                 command time; modem begins dialing                                              
  281.                 as soon as dial tone is detected.
  282.  
  283.                 when blind dialing, modem waits the S6 
  284.                 register time, then dials, regardless 
  285.                 of whenther dial tone is detected
  286.  
  287. BUSY            7               modem has detected a busy signal after
  288.                 dialing automatically
  289.  
  290. NO ANSWER       8               you sent the Wait for Quiet Answer 
  291.                 (@) command and the modem did not                                               
  292.                 detect 5 secons silence
  293.  
  294. CONNECT 2400    10              modem has made a data connection at                                             
  295.                 2400 bps
  296.